
<div class="right-plate" id="synonymTable">
    <div class="table-thead" *ngIf="tabVal" [ngClass]="{'table-thead-scroll':tabVal.length > 17}">
      <table class="tableStyle table table-hover table-striped">
        <thead>
          <tr>
            <th class="w5 text-center">
              <input type="checkbox" #event (click)="_selectAll(event.checked,tabVal)" [checked]="isSelectAll">
            </th>
            <th class="w5 text-center max-w">序号</th>
            <th class="w20 text-left max-w">路径名称</th>
            <th class="w40 text-left max-w">路径</th>
            <th class="w20 text-left max-w">状态</th>
            <th class="w10 text-left">操作</th>
          </tr>
        </thead>
      </table>
    </div>
    <div class="table-tbody">
      <table class="tableStyle table table-hover table-striped">
        <tbody>
          <tr *ngFor="let val of tabVal;let i = index">
            <td class="bs-checkbox w5 text-center">
              <input type="checkbox" #event (click)="_chose(event.checked,val.pathCode,tabVal.length)" [checked]="isChose">
            </td>
            <td class="w5 text-center">{{ i+1 }}</td>
            <td class="w20 text-left max-w" [title]="val.pathName">{{ val.pathName }}</td>
            <td class="w40 text-left max-w" >{{ val.path }}</td>
            <td class="w20 text-left max-w" >
              <span class="stateGreen" *ngIf="val.status === 0">启用</span>
              <span class="stateRed" *ngIf="val.status === -1">禁用</span>
            </td>
            <td class="w10 text-left max-w">
              <span title="编辑" class="btn-i" data-toggle="modal" *ngIf="right['systemTemplateTath']['update']" data-target="#templatePathUpdate" (click)="edit._details(val);initService._init(1)">
                  <img src="assets/new/update.png" width="15px" height="15px">
              </span>
              <span title="详情" class="btn-i" data-toggle="modal" *ngIf="right['systemTemplateTath']['details']" data-target="#templatePathDetals" (click)="details._details(val);initService._init(1)">
                  <img src="assets/new/look.png" width="18px" height="18px">
              </span>
            </td>
          </tr>
  
        </tbody>
      </table>
    </div>
  </div>
  
  <!-- 修改 BEGIN -->
  <app-template-path-update #edit (onSubmit)="getExportPathList()"></app-template-path-update>
  <!-- 修改 BEGIN -->

    <!-- 详情 BEGIN -->
    <app-template-path-details #details></app-template-path-details>
    <!-- 详情 BEGIN -->